package com.sunda;

import com.sunda.spmsweb.util.initLogRecord;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
//@ComponentScan(basePackages = "com.sunda")
@EnableTransactionManagement
@EnableCaching
@EnableFeignClients
public class SpmsWebApplication {

    public static void main(String[] args) {
        initLogRecord.initLog();
        SpringApplication.run(SpmsWebApplication.class, args);
    }

}
